

<!DOCTYPE html>
<html lang="en" ng-app="activePage">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <title>Title</title>
    <link rel="stylesheet" href="sm/sm.min.css">
    <link rel="stylesheet" href="font-awesome-4.7.0/css/font-awesome.css">

</head>
<body>

<div class="page-group" ng-init="a=false">

    <div class="page" ng-controller="activeInit">
        <header class="bar bar-nav to-padding-top">
            <a class="icon icon-left pull-left" href="javascript:app.backLastPosition();"></a>
            <a class="step-next pull-right external" ng-click="upload()">确定</a>

            <h1 class='title'>活动发布</h1>
        </header>
        <div class="content">
            <div class="step-content">
                <p>填写活动基本信息</p>

                <div class="list-block">
                    <ul>
                        <li>
                            <div class="item-content">
                                <div class="item-inner">
                                    <div class="item-title label">标题</div>
                                    <div class="item-input">
                                        <input type="text" ng-model="activityTitle" placeholder="活动标题10-50字">
                                    </div>
                                </div>
                            </div>
                        </li>

                        <li class="align-top">
                            <div class="item-content">
                                <div class="item-inner">
                                    <div class="item-title label">简介</div>
                                    <div class="item-input">
                                        <textarea style="border: 1px rgba(0,0,0,0.1) solid; margin-bottom: 5px;"
                                                  ng-model="activityDetail" placeholder="活动简介10-500"></textarea>
                                    </div>
                                </div>
                            </div>
                        </li>

                        <li>
                            <div class="item-content">
                                <div class="item-inner">
                                    <div class="item-title label">图片</div>
                                    <div class="item-input file-upload">
                                        <i class="fa fa-plus-square-o"></i>
                                        <input type="file"
                                               onchange="angular.element(this).scope().img_upload(this.files)"
                                               accept="image/jpg,image/jpeg,image/png">
                                    </div>
                                </div>
                            </div>
                        </li>

                    </ul>
                </div>
                <div class="img-content">
                    <div class="img-item" ng-repeat="img in imgs">
                        <img ng-src="{{img.imgAddress}}" alt="">
                        <i class="fa fa-close" ng-click="img_del($index)"></i>
                    </div>
                </div>
            </div>
        </div>
        <div class="float" ng-show="a" ng-init="showUseGroups()">
            <div class="contents ">
                <div ng-repeat="group in groupList">
                    <label>
                        <input type="radio" name="s" ng-value="group"
                               ng-model="$parent.activityGroup">{{group.groupTitle}}</label>
                </div>

            </div>

            <!--<select ng-repeat="group in groupList">-->
            <!--<option ng-model="$parent.activityGroup" > {{group.groupTitle}}</option>-->
            <!--</select>-->

            <!--<ul>-->
            <!--<li ng-repeat="group in groupList" >-->
            <!--<label class="label-checkbox item-content">-->
            <!--<input type="radio" ng-model="$parent.activityGroup"  >-->
            <!--<div class="item-media" ><i class="icon icon-form-checkbox"></i></div>-->
            <!--<div class="item-inner">-->
            <!--<div style="color: white; font-size: 12px;" ></div>-->
            <!--</div>-->
            <!--</label>-->
            <!--</li>-->
            <!--</ul>-->
            <button class="yes" ng-click="a=false">确定</button>
        </div>
        <div ng-init="suiMobileInit()"></div>
    </div>

    <script src="js/angular.js"></script>
    <script src="js/angular-route.js"></script>
    <script src="sm/zepto.min.js"></script>
    <script>$.config = {router: false}</script>
    <script src="sm/sm.min.js"></script>
    <script type='text/javascript' src='sm/sm-extend.min.js' charset='utf-8'></script>
    <script src="controller/activity-init-controller.js"></script>
    <script src="controller/app-init-func.js"></script>

    <link rel="stylesheet" href="sm/sm-extend.min.css">

    <link rel="stylesheet" href="css/group-init.css">
    <link rel="stylesheet" href="css/active-content.css">
    <link rel="stylesheet" href="css/group-detail.css">
</div>
</body>
</html>